package hanqi.rabbit;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class LogService {
@Autowired
private LogMapper logMapper;

    public  void saveLog(String message) {
        Log log = new Log(message);
        logMapper.insert(log);
    }

}
